<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div>
        <div id="app">
            <h2>{{5+4}}</h2>
            <p :title="date">鼠标点击就显示时间</p>
        </div>
        <div v-if="isf">是否显示</div>
        <div>{{9>5?'真':'假'}}</div>
    </div>
    <script src="../js/vue.js"></script>
    <script>
        new Vue({
            //guazai
            el: "#app",
            data: {
                date: new Date().toString(),
                isf: "false"
            }
        })
    </script>
</body>

</html>